<?php
/**
 * 404控制器
 */
namespace Apps\Weixin\Controllers;

use Apps\Common\Constant\ExceptionConstant;
use Apps\Common\Controller\BaseController;

/**
 * Class NotfoundController
 * @package Apps\Weixin\Controllers
 */
class NotfoundController extends BaseController
{
    public function router404Action()
    {
        $this->renderFailedJson(ExceptionConstant::ROUTER_ERROR, 'HTTP 404:' . $this->request->getURI());
    }
}
